selecting ranges from a file with the perl .. operator

Mike Schilli showed me a cool perl operator today that I haven’t ever used. Often I want to get lines from a file that are between to specific lines. For example, given a file like: blah blah START THIS IS VERY IMPORTANT END blah blah I would like to easily extract everything between (and including) … Continue reading selecting ranges from a file with the perl .. operator